<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>span</title>
    <style>
        span,div{
            float: left;
            width: 100px;
            height: 100px;
            background-color: pink;
        }
        p{
            float: left;
            height: 200px;
            background-color: orange;
            margin-top: 0px;
        }
    </style>
</head>
<body>
<span>1</span><span>2</span>
<div>div</div>
<p>dfdfdf</p>
</body>
</html>